package cn.com.dcsgo.design.pattern.builder.car;

/**
 * 汽车引擎
 *
 * @author Dcsgo
 * @since 21/7/2025 上午 9:05
 */

public class Engine {
    private final String name;

    public Engine(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "Engine{" +
                "name='" + name + '\'' +
                '}';
    }
}
